package cn.bx.spring.print;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Garden {
    private String name="花园";
    private String addr;
    private List<String> flowers=new ArrayList<>(0);

    private Map<String,String> emps=new HashMap<>();

    public void introduction(){
        System.out.println("名字叫"+name+",地址在"+addr);
        System.out.println("品种有"+flowers);
        System.out.println("员工有："+emps);
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public void setFlowers(List<String> flowers) {
        this.flowers = flowers;
    }

    public void setEmps(Map<String, String> emps) {
        this.emps = emps;
    }
}
